\documentclass[
    margin = 5pt,
    varwidth
]{standalone}
\usepackage{tikz}
\usepackage{ctex}
\usepackage{amsmath, amssymb}
\begin{document}
\begin{varwidth}{20cm}
    {{ content }}
\end{varwidth}
\end{document}